import React from 'react';
import {Drawer} from 'antd'
import Sider from '../sider'
import './styles.less'

function IphoneSider(props) {
  const {collapsed, toggle} = props;
  return(
    <Drawer
      placement= 'left'
      closable={false}
      onClose={toggle}
      visible={collapsed}
      style = {{padding:'0'}}
      className={'iphoneMenu'}
      // key={placement}
    >
      <Sider />
    </Drawer>
  )
}

export default IphoneSider